<%--
  Created by IntelliJ IDEA.
  User: 黄鹏飞
  Date: 2022/12/9
  Time: 11:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        .main {
            position: relative;
            width: 400px;
            height: 500px;
            background-color: darkgray;
            margin-left: 50px;
        }

        input {
            color: darkgray;
            height: 40px;
            width: 250PX;
            margin-top: 50px;
            border-radius: 5px;
        }

        .tijiao {
            position: absolute;
            width: 50px;
            height: 30px;
            background-color: white;
            left: 20%;
            color: black;
            border-radius: 5px;

        }

        button {
            position: absolute;
            left: 50%;
            margin-top: 50px;
        }
    </style>
</head>
<body>
<form action="/adminteacher?method=update" method="post">
    <div class="main">
        <div>姓名:<input required type="text" name="name" value="${teacher.name}" readonly/></div>
        <div>密码:<input required type="text" name="password" placeholder="${teacher.password}"/></div>
        <div>班级:<input required type="text" name="t_class" placeholder="${teacher.t_class}"/></div>
        <input type="submit" value="提交" class="tijiao">
        <button type="reset">重置</button>
    </div>
</form>

</body>
</html>
